snapshot: Avoid a double-free
authorTimm Bäder <mail@baedert.org>
Tue, 14 Feb 2017 12:23:08 +0000 (13:23 +0100)
committerTimm Bäder <mail@baedert.org>
Tue, 14 Feb 2017 15:56:55 +0000 (16:56 +0100)
commit08355997c2666fee0d54f0eb8316f99b0087fac8
tree24c203dac546c146d5afe0abf0f1be235db5c7e4
parent6a6b6549ea0b342eed42a947a36d7c3ebb3c99a9
snapshot: Avoid a double-free

We can't pass the same string to two different snapshot states since
removing one of them will free the passed string, so just create another
one for the second state.
gtk/gtksnapshot.c